package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.OaQxjspVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OaQxjspFlowMapper {
    Page<OaQxjspVo> flowJobPage(Page<OaQxjspVo> page,
                                @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                @Param("user") CurrentUserVo user,
                                @Param("spcyFlowVo") OaQxjspVo oaQxjspVo);

    Page<OaQxjspVo> flowJkPage(Page<OaQxjspVo> page,
                               @Param("onlyCurrentUser") boolean onlyCurrentUser,
                               @Param("user") CurrentUserVo user,
                               @Param("spcyFlowVo") OaQxjspVo oaQxjspVo);

    List<OaQxjspVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") OaQxjspVo oaQxjspVo);


    Page<OaQxjspVo> selectmyyb(Page<OaQxjspVo> page, @Param("spcyFlowVo") OaQxjspVo oaQxjspVo, String fdbrid, String fdbr);

    Page<OaQxjspVo> myYbFlowPage(Page<OaQxjspVo> page,
                                 @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                 @Param("user") CurrentUserVo user,
                                 @Param("spcyFlowVo") OaQxjspVo oaQxjspVo);

}
